package org.genntii.smcommentlike.client;


import org.genntii.smcommon.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sm-comment")
public interface CommentClient {

    @GetMapping("comment/exists")
    Result<Boolean> getCommentExists(@RequestParam(name = "commentId") Long commentId);

}
